# $Id: PKGBUILD 62859 2012-01-27 20:47:22Z lcarlier $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor: gumper <gumper1034@gmail.com>

pkgname=libalkimia
pkgver=4.3.2
pkgrel=1
pkgdesc="A library with common classes and functionality used by finance applications for the KDE SC."
depends=('kdelibs')
makedepends=('cmake' 'automoc4' 'doxygen')
url=('http://kde-apps.org/content/show.php/libalkimia?content=137323')
license=('LGPL')
arch=('i686' 'x86_64')
source=("http://kde-apps.org/CONTENT/content-files/137323-libalkimia-$pkgver.tar.bz2")
md5sums=('8d7b529c7be5f72ae1cbb02e818e9b79')

build() {
  cd "${srcdir}"

  mkdir build
  cd build

  cmake ../${pkgname}-${pkgver} \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -Wno-dev
  make
}

package() {
  cd "${srcdir}"/build
 
  make DESTDIR="${pkgdir}" install  
}

